package com.hbfu.zggdwlzzsx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.List;

@Data
public class Works {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String workPicture;
    private String name;
    private String authorName;
    private String synopsis;
    @TableField(exist = false)
    private List<Chapters> chapters;

}